package exam.test;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@Component
public class Socket implements ApplicationRunner {
    @Autowired
    SocketServer socketServer;
    @Override
    public void run(ApplicationArguments args) throws Exception {
        socketServer.socketstart();
    }




}
